package com.example.demo.Gmail.model;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;
@ApiModel(value="mailSenderInfo",description="发送邮件实体类")
public class MailSenderInfo {
    @ApiModelProperty(name = "from",value = "发件人",example = "zhangxuan321@gmail.com")
    private String from;
    @ApiModelProperty(name = "receivers",value = "收件人",example = " [\"zhangxuan494@163.com\"]")
    private List<String> receivers;
    @ApiModelProperty(name = "cc",value = "抄送",example = "[\"804591870@qq.com\"]")
    private List<String> cc;
    @ApiModelProperty(name = "subject",value = "主题",example = "这是一封邮件")
    private String subject;
    @ApiModelProperty(name = "contextImgModels",value = "正文图片",example = "[\n" +
                                                        "    {\n" +
                                                        "      \"cId\": \"logo\",\n" +
                                                        "      \"fileName\": \"logo.jpg\",\n" +
                                                        "      \"url\": \"http://download.files.cnexps.com/logo.jpg\"\n" +
                                                        "    }\n" +
                                                        "  ]")
    private List<ContextImgModel> contextImgModels;
    @ApiModelProperty(name = "attchmentModels",value = "附件",example = "[\n" +
                                                        "    {\n" +
                                                        "      \"fileName\": \"OBA临时帐号.txt\",\n" +
                                                        "      \"url\": \"http://download.files.cnexps.com/82a5a024-b78a-411d-a364-209c5508156e/OBA临时帐号.txt\"\n" +
                                                        "    }\n" +
                                                        "  ]")

    private List<AttchmentModel>  attchmentModels;
    @ApiModelProperty(name = "content",value = "正文",example = "<div dir=\"ltr\">收到请<div><img src=\"cid:logo\" alt=\"logo.jpg\" width=\"520\" height=\"242\"><br></div>回复</div>\r\n")
    private String content;
    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public List<String> getReceivers() {
        return receivers;
    }

    public void setReceivers(List<String> receivers) {
        this.receivers = receivers;
    }

    public List<String> getCc() {
        return cc;
    }

    public void setCc(List<String> cc) {
        this.cc = cc;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<ContextImgModel> getContextImgModels() {
        return contextImgModels;
    }

    public void setContextImgModels(List<ContextImgModel> contextImgModels) {
        this.contextImgModels = contextImgModels;
    }

    public List<AttchmentModel> getAttchmentModels() {
        return attchmentModels;
    }

    public void setAttchmentModels(List<AttchmentModel> attchmentModels) {
        this.attchmentModels = attchmentModels;
    }
}
